@import 'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.css';
@tailwind base;
@tailwind components;
@tailwind utilities;

/* 企业级基础样式 */
@layer base {
  html {
    scroll-behavior: smooth;
    height: 100%;
    overflow: hidden;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #374151;
    line-height: 1.6;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  #root {
    height: 100%;
    overflow: hidden;
  }
}

/* 动画关键帧 */
@keyframes floating {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
  }
}

@keyframes slide-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-soft {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@keyframes wave {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(90deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  75% {
    transform: scale(1.1) rotate(270deg);
  }
}

@keyframes bounce-gentle {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.6;
  }
}

/* 企业级组件样式 */
@layer components {
  /* 动画渐变背景 */
  .hero-gradient {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    position: relative;
  }

  /* 黑色主题渐变背景 */
  .hero-gradient-dark {
    background: linear-gradient(-45deg, #0f0f23, #1a1a2e, #16213e, #0f3460, #1b1b2f, #162447);
    background-size: 400% 400%;
    animation: gradient-shift 20s ease infinite;
    position: relative;
  }

  /* 玻璃拟态效果 */
  .glass-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  .glass-morphism {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  /* 黑色主题玻璃拟态效果 */
  .glass-card-dark {
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  }

  .glass-morphism-dark {
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  /* 全局滚动条样式 - 统一设计 */
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 114, 126, 0.5) transparent;
  }

  *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }

  *::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
  }

  *::-webkit-scrollbar-thumb {
    background: rgba(107, 114, 126, 0.4);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  *::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 114, 126, 0.6);
    box-shadow: 0 2px 8px rgba(107, 114, 126, 0.3);
  }

  *::-webkit-scrollbar-corner {
    background: transparent;
  }

  /* 自定义滚动条样式 - 浅色主题 */
  .custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(75, 85, 99, 0.6) transparent;
  }

  .custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  .custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(243, 244, 246, 0.5);
    border-radius: 3px;
  }

  .custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(75, 85, 99, 0.5);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
  }

  .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(75, 85, 99, 0.7);
    box-shadow: 0 2px 6px rgba(75, 85, 99, 0.3);
  }

  /* 深色主题滚动条样式 */
  .custom-scrollbar-dark {
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
  }

  .custom-scrollbar-dark::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  .custom-scrollbar-dark::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.3);
    border-radius: 3px;
  }

  .custom-scrollbar-dark::-webkit-scrollbar-thumb {
    background: rgba(107, 114, 126, 0.5);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }

  .custom-scrollbar-dark::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.7);
    box-shadow: 0 2px 6px rgba(6, 182, 212, 0.2);
  }

  /* 浮动动画 */
  .floating {
    animation: floating 6s ease-in-out infinite;
  }

  /* 文本渐变 */
  .text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* 霓虹文本渐变 */
  .text-gradient-neon {
    background: linear-gradient(135deg, #00f5ff 0%, #0080ff 50%, #8000ff 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.5));
  }

  /* 卡片悬浮效果 */
  .card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slide-in-up 0.6s ease-out;
  }

  .card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

  /* 按钮样式 */
  .btn-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
  }

  .btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  }

  .btn-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
  }

  /* 企业级卡片样式 */
  .enterprise-card {
    @apply bg-white rounded-lg border border-gray-200 shadow-sm hover:shadow-md transition-shadow duration-200;
  }

  /* 专业按钮样式 */
  .btn-primary {
    @apply bg-blue-600 hover:bg-blue-700 text-white font-medium px-4 py-2 rounded-md transition-colors duration-200;
  }
  
  .btn-secondary {
    @apply border border-gray-300 hover:bg-gray-50 text-gray-700 font-medium px-4 py-2 rounded-md transition-colors duration-200;
  }

  /* 表单控件样式 */
  .form-input {
    @apply w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-sm;
  }
  
  .form-select {
    @apply w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500 text-sm bg-white;
  }

  /* 专业标签样式 */
  .badge {
    @apply inline-flex items-center px-2 py-1 rounded-md text-xs font-medium;
  }
  
  .badge-gray {
    @apply bg-gray-100 text-gray-800;
  }
  
  .badge-blue {
    @apply bg-blue-50 text-blue-700;
  }
  
  .badge-green {
    @apply bg-green-100 text-green-800;
  }
}

/* 企业级工具类 */
@layer utilities {
  /* 焦点状态 */
  .focus-visible {
    @apply focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2;
  }

  /* 交互状态 */
  .interactive {
    @apply cursor-pointer select-none;
  }

  /* 禁用状态 */
  .disabled {
    @apply opacity-50 cursor-not-allowed;
  }

  /* 文本颜色 */
  .text-primary {
    @apply text-gray-900;
  }
  
  .text-secondary {
    @apply text-gray-600;
  }
  
  .text-muted {
    @apply text-gray-500;
  }

  /* 背景颜色 */
  .bg-surface {
    @apply bg-white;
  }
  
  .bg-muted {
    @apply bg-gray-50;
  }

  /* 边框 */
  .border-standard {
    @apply border border-gray-200;
  }
  
  .border-strong {
    @apply border border-gray-300;
  }

  /* 动画延迟 */
  .animation-delay-100 {
    animation-delay: 0.1s;
  }
  
  .animation-delay-200 {
    animation-delay: 0.2s;
  }
  
  .animation-delay-300 {
    animation-delay: 0.3s;
  }

  /* 自定义表格样式 */
  .custom-table .ant-table-thead > tr > th {
    background: rgba(248, 250, 252, 1) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 1) !important;
    color: rgba(71, 85, 105, 1) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 16px !important;
  }

  .custom-table .ant-table-tbody > tr > td {
    border-bottom: 1px solid rgba(241, 245, 249, 1) !important;
    padding: 16px !important;
    color: rgba(51, 65, 85, 1) !important;
  }

  .custom-table .ant-table-tbody > tr:hover > td {
    background: rgba(248, 250, 252, 1) !important;
  }

  .custom-table .ant-table {
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  /* 自定义菜单样式 */
  .custom-menu {
    background: transparent !important;
    border: none !important;
  }

  /* 普通菜单项样式 */
  .custom-menu .ant-menu-item {
    margin: 4px 8px !important;
    border-radius: 8px !important;
    height: 40px !important;
    line-height: 40px !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
  }

  .custom-menu .ant-menu-item:hover {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #6366f1 !important;
    transform: translateX(4px);
  }

  .custom-menu .ant-menu-item-selected {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1)) !important;
    color: #6366f1 !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15) !important;
  }

  /* 菜单组（目录）样式 */
  .custom-menu .ant-menu-submenu {
    margin: 4px 8px !important;
    border-radius: 8px !important;
  }

  .custom-menu .ant-menu-submenu-title {
    margin: 0 !important;
    border-radius: 8px !important;
    height: 40px !important;
    line-height: 40px !important;
    background: rgba(107, 114, 128, 0.06) !important;
    color: rgba(107, 114, 128, 0.8) !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
  }

  .custom-menu .ant-menu-submenu-title:hover {
    background: rgba(107, 114, 128, 0.12) !important;
    color: rgba(107, 114, 128, 1) !important;
    transform: translateX(2px);
  }

  .custom-menu .ant-menu-submenu-open > .ant-menu-submenu-title {
    background: rgba(107, 114, 128, 0.1) !important;
    color: rgba(107, 114, 128, 1) !important;
  }

  /* 子菜单容器 */
  .custom-menu .ant-menu-sub {
    background: transparent !important;
    padding: 4px 0 !important;
  }

  /* 子菜单项样式 */
  .custom-menu .ant-menu-sub .ant-menu-item {
    margin: 2px 16px 2px 24px !important;
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 6px !important;
    background: rgba(249, 250, 251, 0.8) !important;
    border: 1px solid rgba(229, 231, 235, 0.6) !important;
    position: relative;
  }

  .custom-menu .ant-menu-sub .ant-menu-item:before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 1px;
    height: 20px;
    background: rgba(209, 213, 219, 0.6);
    transform: translateY(-50%);
  }

  .custom-menu .ant-menu-sub .ant-menu-item:hover {
    background: rgba(99, 102, 241, 0.06) !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
    color: #6366f1 !important;
    transform: translateX(2px);
  }

  .custom-menu .ant-menu-sub .ant-menu-item-selected {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08)) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #6366f1 !important;
    font-weight: 500 !important;
  }

  /* 菜单图标样式 */
  .custom-menu .ant-menu-item-icon,
  .custom-menu .ant-menu-submenu-title .ant-menu-item-icon {
    transition: all 0.3s ease !important;
  }

  .custom-menu .ant-menu-item:hover .ant-menu-item-icon,
  .custom-menu .ant-menu-submenu-title:hover .ant-menu-item-icon {
    transform: scale(1.1);
  }

  /* 箭头图标样式 */
  .custom-menu .ant-menu-submenu-arrow {
    transition: all 0.3s ease !important;
    color: rgba(107, 114, 128, 0.6) !important;
  }

  .custom-menu .ant-menu-submenu-open .ant-menu-submenu-arrow {
    color: rgba(107, 114, 128, 1) !important;
  }

  /* 展开收起动画 */
  .custom-menu .ant-menu-submenu .ant-menu-sub {
    animation: slideInDown 0.3s ease-out;
  }

  @keyframes slideInDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* 深色主题菜单样式 */
  .dark .custom-menu .ant-menu-submenu-title {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(156, 163, 175, 0.8) !important;
  }

  .dark .custom-menu .ant-menu-submenu-title:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(156, 163, 175, 1) !important;
  }

  .dark .custom-menu .ant-menu-sub .ant-menu-item {
    background: rgba(31, 41, 55, 0.8) !important;
    border-color: rgba(75, 85, 99, 0.6) !important;
  }

  /* === 高端自定义菜单样式 === */
  .custom-menu-container {
    height: 100%;
    background: linear-gradient(145deg, #fafafa 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
  }

  .custom-menu-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
      rgba(255, 255, 255, 0.8) 0%, 
      rgba(248, 250, 252, 0.9) 50%,
      rgba(241, 245, 249, 0.8) 100%
    );
    pointer-events: none;
  }

  .custom-menu-container.collapsed {
    width: 64px;
  }

  .menu-content {
    position: relative;
    z-index: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    background: transparent;
  }

    /* 目录样式 */
  .menu-category {
    margin-bottom: 16px;
  }

  .menu-category-title {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    margin-bottom: 8px;
    color: rgba(107, 114, 128, 0.8);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }

  .menu-category-icon {
    margin-right: 8px;
    opacity: 0.7;
  }

  .menu-category-label {
    opacity: 0.8;
  }

  .menu-category-content {
    padding-left: 8px;
  }

  /* 主菜单项样式 */
  .menu-item {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 2px 8px;
    border-radius: 8px;
    min-height: 40px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid transparent;
  }

  .menu-item:hover {
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.1);
  }

  /* 一级菜单特殊样式 */
  .menu-item-primary {
    min-height: 44px;
    margin: 4px 8px;
    border-radius: 10px;
  }

  .menu-item-primary:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
  }

  /* 二级菜单特殊样式 */
  .menu-item-secondary {
    margin: 2px 16px 2px 24px;
    min-height: 36px;
    position: relative;
  }

  .menu-item-secondary::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: rgba(209, 213, 219, 0.6);
    transform: translateY(-50%);
  }

  .menu-item-secondary:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.1);
  }

  /* 选中状态 */
  .menu-item-selected {
    background: rgba(99, 102, 241, 0.12) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #6366f1 !important;
  }

  .menu-item-selected::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #6366f1;
    border-radius: 1.5px 0 0 1.5px;
  }

  /* 菜单图标 */
  .menu-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: rgba(71, 85, 105, 0.8);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
  }

  .menu-item:hover .menu-item-icon {
    color: #6366f1;
    transform: scale(1.1);
  }

  .menu-item-selected .menu-item-icon {
    color: #6366f1;
  }

  /* 菜单内容 */
  .menu-item-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
  }

  .menu-item-title {
    font-weight: 500;
    font-size: 14px;
    color: rgba(51, 65, 85, 0.9);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
  }

  .menu-item:hover .menu-item-title {
    color: #475569;
  }

  .menu-item-selected .menu-item-title {
    color: #374151;
    font-weight: 600;
  }

  /* 选中指示器 */
  .menu-item-indicator {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #6366f1;
    border-radius: 0 1.5px 1.5px 0;
  }

  /* === 优化的搜索框样式 === */
  .search-form-card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    box-shadow: 
      0 4px 16px rgba(0, 0, 0, 0.04),
      0 1px 4px rgba(0, 0, 0, 0.02);
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(248, 250, 252, 0.9) 100%
         );
     -webkit-backdrop-filter: blur(8px);
     backdrop-filter: blur(8px);
     transition: all 0.3s ease;
  }

  .search-form-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 
      0 8px 25px rgba(0, 0, 0, 0.08),
      0 4px 12px rgba(99, 102, 241, 0.1);
  }

  .search-form .ant-form-item {
    margin-bottom: 0;
  }

  .search-form .ant-form-item-label {
    font-weight: 500;
    color: rgba(71, 85, 105, 0.9);
  }

  .search-form .ant-input,
  .search-form .ant-select-selector,
  .search-form .ant-picker {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  }

  .search-form .ant-input:hover,
  .search-form .ant-select-selector:hover,
  .search-form .ant-picker:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(255, 255, 255, 0.95);
  }

  .search-form .ant-input:focus,
  .search-form .ant-select-focused .ant-select-selector,
  .search-form .ant-picker-focused {
    border-color: #6366f1;
    box-shadow: 
      0 0 0 3px rgba(99, 102, 241, 0.1),
      0 1px 3px rgba(0, 0, 0, 0.02);
  }

  /* 搜索按钮容器 */
  .search-buttons-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-height: 40px;
  }

  /* 原版搜索按钮样式 */
  .search-btn-original {
    height: 36px;
    border-radius: 6px;
    font-weight: 500;
  }

  .reset-btn-original {
    height: 36px;
    border-radius: 6px;
    font-weight: 500;
  }

  /* 响应式优化 */
  @media (max-width: 768px) {
    .custom-menu-container {
      width: 100% !important;
    }
    
    .menu-item {
      margin: 0 4px;
    }
    
    .menu-item-secondary {
      margin: 0 8px 0 16px;
    }
    
    .search-form-card {
      border-radius: 8px;
    }
  }

  /* === Layout组件高端样式 === */
  .sider-container {
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.04);
    background: linear-gradient(180deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(248, 250, 252, 0.9) 100%
    );
    position: relative;
    z-index: 100;
  }

  /* Logo区域样式 */
  .logo-container {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: relative;
  }

  .logo-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(99, 102, 241, 0.3) 50%, 
      transparent 100%
    );
  }

  .logo-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
  }

  .logo-fallback {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  }

  .logo-text {
    color: white;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .logo-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .logo-title {
    font-weight: 600;
    color: rgba(31, 41, 55, 0.9);
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  .logo-subtitle {
    font-size: 11px;
    color: rgba(107, 114, 128, 0.8);
    font-weight: 500;
  }

  /* 头部样式 */
  .header-container {
    padding: 0;
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(248, 250, 252, 0.9) 100%
    );
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 99;
  }

  .header-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(99, 102, 241, 0.1) 50%, 
      transparent 100%
    );
  }

  .header-left {
    display: flex;
    align-items: center;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .collapse-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: rgba(71, 85, 105, 0.8);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.4);
  }

  .collapse-btn:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
  }

  .notification-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: rgba(107, 114, 128, 0.8);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.4);
    position: relative;
  }

  .notification-btn:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    transform: translateY(-1px);
  }

  .notification-btn::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    border: 1px solid white;
    opacity: 0.8;
  }

  .user-profile {
    padding: 0 12px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .user-profile:hover {
 
    transform: translateY(-1px);
 
  }

  .user-profile .ant-avatar {
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .username {
    font-size: 14px;
    color: rgba(51, 65, 85, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .user-profile:hover .username {
    color: #374151;
  }

  /* 内容区域样式 */
  .content-container {
    margin: 0;
    padding: 16px 24px 24px 24px;
    background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(248, 250, 252, 0.9) 100%
    );
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    position: relative;
    height: calc(100vh - 64px);
  }

  .content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(99, 102, 241, 0.2) 50%, 
      transparent 100%
    );
  }

  /* 收起状态下的适配 */
  .ant-layout-sider-collapsed .logo-subtitle,
  .ant-layout-sider-collapsed .logo-title {
    display: none;
  }

  .ant-layout-sider-collapsed .logo-icon {
    margin: 0;
  }

  /* 深色主题适配 */
  .dark .sider-container {
    background: linear-gradient(180deg, 
      rgba(31, 41, 55, 0.95) 0%, 
      rgba(17, 24, 39, 0.9) 100%
    );
  }

  .dark .logo-container {
    background: rgba(31, 41, 55, 0.8);
    border-bottom-color: rgba(75, 85, 99, 0.4);
  }

  .dark .logo-title {
    color: rgba(243, 244, 246, 0.9);
  }

  .dark .logo-subtitle {
    color: rgba(156, 163, 175, 0.8);
  }

  .dark .header-container {
    background: linear-gradient(135deg, 
      rgba(31, 41, 55, 0.95) 0%, 
      rgba(17, 24, 39, 0.9) 100%
    );
    border-bottom-color: rgba(75, 85, 99, 0.4);
  }

  .dark .content-container {
    background: linear-gradient(135deg, 
      rgba(31, 41, 55, 0.95) 0%, 
      rgba(17, 24, 39, 0.9) 100%
    );
    border-color: rgba(75, 85, 99, 0.4);
  }
} 